package com.yonyou.cyxdms.sysmanage.client.vo.company;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yonyou.cyx.function.utils.jsonserializer.localdatetime.JsonLocalDateTimeDeserializer;
import com.yonyou.cyx.function.utils.jsonserializer.localdatetime.JsonLocalDateTimeSerializer;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;


/**
 * <p>
 * 公司表，车厂、经销商公司、改装厂公司等所
 * </p>
 *
 * @author quankk
 * @since 2019-08-26
 */

public class CompanyVO {
    /**
     * 用于返回的id ,无需传入
     */
    @ApiModelProperty(value="用于返回的id ,无需传入")
    private Integer companyId;
    /**
     * 需要修改的公司代码
     */
    @ApiModelProperty(value="需要修改的公司代码(必传)")
    private String oldCompanyCode;
    /**
     * 公司代码
     */
    @ApiModelProperty(value="公司代码(必传)")
    private String companyCode;

    /**
     * 公司中文全称
     */
    @ApiModelProperty(value="公司中文全称(必传)")
    private String companyNameCn;
    /**
     * 公司简称中文
     */
    @ApiModelProperty(value="公司英文全称")
    private String companyNameEn;
    /**
     * 公司简称中文
     */
    @ApiModelProperty(value="公司简称中文(必传)")
    private String companyShortNameCn;
    /**
     * 公司简称英文
     */
    @ApiModelProperty(value="公司简称英文")
    private String companyShortNameEn;


    /**
     * 有效状态
     */
    @ApiModelProperty(value="有效状态10041001/2(必传)")
    private Integer validStatus;
    /**
     * 省份
     */
    @ApiModelProperty(value="省份ID")
    private Integer provinceId;
    /**
     * 城市
     */
    @ApiModelProperty(value="城市ID")
    private Integer cityId;
    /**
     * 公司地址中文
     */
    @ApiModelProperty(value="公司地址中文")
    private String addressZh;
    /**
     * 公司地址英文
     */
    @ApiModelProperty(value="公司地址英文")
    private String addressEn;
    /**
     * 联系电话
     */
    @ApiModelProperty(value="联系电话")
    private String phone;
    /**
     * 邮编
     */
    @ApiModelProperty(value="邮编")
    private String zipCode;
    /**
     * 传真
     */
    @ApiModelProperty(value="传真")
    private String fax;
    /**
     * 数据库租户ID
     */
    @ApiModelProperty(value="数据库租户ID")
    private String tenantId;
    /**
     * 来源日期
     */
    @ApiModelProperty(value="来源日期")
    @JsonDeserialize(using = JsonLocalDateTimeDeserializer.class)
    @JsonSerialize(using = JsonLocalDateTimeSerializer.class)
    private LocalDateTime sourceChangedAt;
    /**
     * 所在区县
     */
    @ApiModelProperty(value="所在区县id")
    private Integer county;
    /**
     * 企业性质
     */
    @ApiModelProperty(value="企业性质")
    private String property;
    /**
     * E_MAIL
     */
    @ApiModelProperty(value="E_MAIL")
    private String eMail;
    /**
     * 开业日期
     */
    @ApiModelProperty(value="开业日期")
    @JsonDeserialize(using = JsonLocalDateTimeDeserializer.class)
    @JsonSerialize(using = JsonLocalDateTimeSerializer.class)
    private LocalDateTime openDate;
    /**
     * 24小时热线电话
     */
    @ApiModelProperty(value="24小时热线电话")
    private String hotLine;
    /**
     * 销售热线
     */
    @ApiModelProperty(value="销售热线")
    private String salesLine;
    /**
     * 售后热线
     */
    @ApiModelProperty(value="售后热线")
    private String serviceLine;
    /**
     * 营业时间
     */
    @ApiModelProperty(value="营业时间")
    private String businessHours;
    /**
     * 建站日期
     */
    @ApiModelProperty(value="建站日期")
    private LocalDateTime createdDate;
    /**
     * 待开业，已开业，停业\r\n
     */
    @ApiModelProperty(value="服务站状态：待开业，已开业，停业（TC_CODE:1011,如10111002）")
    private Integer dealerStatus;
    /**
     * 公司主页
     */
    @ApiModelProperty(value="公司主页")
    private String companyHomepage;
    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String remark;
    /**
     * 是否主店
     */
    @ApiModelProperty(value="是否主店")
    private Integer isMain;
    /**
     * 是否执行固化权限控制
     */
    @ApiModelProperty(value="是否执行固化权限控制10041002")
    private Integer isFixed;
    /**
     * 畅捷支付合作者id
     */
    @ApiModelProperty(value="畅捷支付合作者id")
    private String partnerId;
    /**
     * 私钥
     */
    @ApiModelProperty(value="私钥")
    private String privateKey;
    /**
     * 公钥
     */
    @ApiModelProperty(value="公钥")
    private String publicKey;
    /**
     * 公司地址中文
     */
    @ApiModelProperty(value="公司地址中文")
    private String addressCn;
    private Integer isDeleted;

    /**
     * 公钥
     */
    @ApiModelProperty(value="经销商公司类型")
    private Integer dealerType;

    public Integer getDealerType() {
        return dealerType;
    }

    public void setDealerType(Integer dealerType) {
        this.dealerType = dealerType;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getOldCompanyCode() {
        return oldCompanyCode;
    }

    public void setOldCompanyCode(String oldCompanyCode) {
        this.oldCompanyCode = oldCompanyCode;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getCompanyNameCn() {
        return companyNameCn;
    }

    public void setCompanyNameCn(String companyNameCn) {
        this.companyNameCn = companyNameCn;
    }

    public String getCompanyNameEn() {
        return companyNameEn;
    }

    public void setCompanyNameEn(String companyNameEn) {
        this.companyNameEn = companyNameEn;
    }

    public String getCompanyShortNameCn() {
        return companyShortNameCn;
    }

    public void setCompanyShortNameCn(String companyShortNameCn) {
        this.companyShortNameCn = companyShortNameCn;
    }

    public String getCompanyShortNameEn() {
        return companyShortNameEn;
    }

    public void setCompanyShortNameEn(String companyShortNameEn) {
        this.companyShortNameEn = companyShortNameEn;
    }

    public Integer getValidStatus() {
        return validStatus;
    }

    public void setValidStatus(Integer validStatus) {
        this.validStatus = validStatus;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getAddressZh() {
        return addressZh;
    }

    public void setAddressZh(String addressZh) {
        this.addressZh = addressZh;
    }

    public String getAddressEn() {
        return addressEn;
    }

    public void setAddressEn(String addressEn) {
        this.addressEn = addressEn;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public LocalDateTime getSourceChangedAt() {
        return sourceChangedAt;
    }

    public void setSourceChangedAt(LocalDateTime sourceChangedAt) {
        this.sourceChangedAt = sourceChangedAt;
    }

    public Integer getCounty() {
        return county;
    }

    public void setCounty(Integer county) {
        this.county = county;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail;
    }

    public LocalDateTime getOpenDate() {
        return openDate;
    }

    public void setOpenDate(LocalDateTime openDate) {
        this.openDate = openDate;
    }

    public String getHotLine() {
        return hotLine;
    }

    public void setHotLine(String hotLine) {
        this.hotLine = hotLine;
    }

    public String getSalesLine() {
        return salesLine;
    }

    public void setSalesLine(String salesLine) {
        this.salesLine = salesLine;
    }

    public String getServiceLine() {
        return serviceLine;
    }

    public void setServiceLine(String serviceLine) {
        this.serviceLine = serviceLine;
    }

    public String getBusinessHours() {
        return businessHours;
    }

    public void setBusinessHours(String businessHours) {
        this.businessHours = businessHours;
    }

    public LocalDateTime getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(LocalDateTime createdDate) {
        this.createdDate = createdDate;
    }

    public Integer getDealerStatus() {
        return dealerStatus;
    }

    public void setDealerStatus(Integer dealerStatus) {
        this.dealerStatus = dealerStatus;
    }

    public String getCompanyHomepage() {
        return companyHomepage;
    }

    public void setCompanyHomepage(String companyHomepage) {
        this.companyHomepage = companyHomepage;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getIsMain() {
        return isMain;
    }

    public void setIsMain(Integer isMain) {
        this.isMain = isMain;
    }

    public Integer getIsFixed() {
        return isFixed;
    }

    public void setIsFixed(Integer isFixed) {
        this.isFixed = isFixed;
    }

    public String getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(String partnerId) {
        this.partnerId = partnerId;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getAddressCn() {
        return addressCn;
    }

    public void setAddressCn(String addressCn) {
        this.addressCn = addressCn;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}
